package settings;

import logic.nodes.nodeSettings.Settings;
import fileHandling.language.options.Sounds;

public class SoundSettings extends ConfigFile {
	
	private static SoundSettings settings = new SoundSettings();
	
	private SoundSettings() {
		super();
	}
	
	public static SoundSettings get() { return settings; }
	
	@Override
	protected Settings getSettings() { return settings; }
	
	@Override
	public void reset() { settings = new SoundSettings(); }
	
	@Override
	public String getFileName() { return "sound.xml"; }
	
	public String getMasterVolumeString() { return getValueOf(Sounds.Master_Volume); }
	public float getMasterVolume() { return Float.valueOf(getMasterVolumeString()).floatValue(); }
}